<%if params[:view]%>
  Login: <%= @user.login %><br/>
  Name: <%= @user.first_name + " " + @user.last_name %><br/>
  Summoner: <%= @user.summoner_name %><br/><br/>
  <%= link_to("Back", users_path) %>
<% else %>
  <% @users.each do |u| %>
    <%= link_to(u.login, users_path + "?view=#{u.summoner_name}") %><br/>
  <% end %>
<% end %>